class QueryResult
{
  private float m_distance;
  private PVector m_directionFrom;
  private FrameType m_type;
  
  public QueryResult(float distance, PVector directionFrom, FrameType type)
  {
    m_distance = distance;
    m_directionFrom = directionFrom;
    m_type = type;
  }
  
  public float distance()
  {
    return m_distance;
  }
  
  public PVector directionFrom()
  {
    return m_directionFrom;
  }
  
  public FrameType frameType()
  {
    return m_type;
  }
}
